package com.niit;

import com.niit.bean.Person;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringbootDemo2Application {

    public static void main(String[] args) {

        var ioc = SpringApplication.run(SpringbootDemo2Application.class, args);
        Person person = ioc.getBean(Person.class);

        System.out.println("Person绑定后的属性值：" + person);
    }

}
